import Router from 'koa-router';
import userController from '../api/userController';

const router = new Router();

router.prefix('/user'); // 加路由前缀

router.get('/favs', userController.userSign);
router.post('/basic', userController.updateUserInfo);
router.post('/changePs', userController.changeUserPassword);

export default router;
